import Loadable from 'react-loadable'
import { loading } from '../loading'

const BooksUpload = Loadable({
  loader: () => import('./BooksUpload'),
  loading: loading
})

const BooksCollect = Loadable({
  loader: () => import('./BooksCollect'),
  loading: loading
})
const BooksBorrow = Loadable({
  loader: () => import('./BooksBorrow'),
  loading: loading
})
const MyBooks = Loadable({
  loader: () => import('./MyBooks'),
  loading: loading
})

export { BooksUpload, BooksCollect, BooksBorrow, MyBooks }
